package cn.weakup.designpattern.c_structural.proxy.usepattern;

import cn.weakup.designpattern.c_structural.proxy.IUserDao;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author lixj
 * @version 1.0.0
 * @date 2022/6/5
 * @desc
 */
@Configuration
public class RegisterBeanFactoryConfig {

    @Bean("userDao")
    public RegisterBeanFactory userDao(){
        return new RegisterBeanFactory();
    }
}
